package com.bdzl.ecs.servicefeign;

import com.bdzl.ecs.config.FeignConfig;
import com.bdzl.pub.entity.data.FddCaPersonalDO;
import com.bdzl.pub.util.param.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;


@FeignClient(name="loanAdmin", configuration = FeignConfig.class,contextId = "FddCaPersonal",url = "${feign.sys}:8001")
public interface FddCaPersonalFeignService {

   /**
     * 添加法大大 个人信息
     * @param fddCaPersonal
     * @return
     */
    @ResponseBody
    @PostMapping("/bdzl/fddCaPersonal/save")
    R save(@RequestBody FddCaPersonalDO fddCaPersonal);

}
